setExitSharedElementCallback

When custom transitions are used with Fragments, the exit transition callback is called when this Fragment is attached or detached when popping the back stack.

Parameters

callback

Used to manipulate the shared element transitions on this Fragment when added as a pop from the back stack.